<!DOCTYPE html>
<html>
	<head>
		<title>日报审核</title>
		
		<link rel="stylesheet" href="lib/assets/css/jquery-ui.custom.css" />
		<link rel="stylesheet" href="lib/assets/css/chosen.css" />
		<link rel="stylesheet" href="lib/assets/css/datepicker.css" />
		<link rel="stylesheet" href="lib/assets/css/bootstrap-timepicker.css" />
		<link rel="stylesheet" href="lib/assets/css/daterangepicker.css" />
		<link rel="stylesheet"
			href="lib/assets/css/bootstrap-datetimepicker.css" />
		<link rel="stylesheet" href="lib/assets/css/colorpicker.css" />
		<link rel="stylesheet" href="css/align.css" />
	</head>

	<div class="holyContainer">
		<div class="page-header">
		    <h1>
		        日报审核
		    </h1>
		</div>
		
		<div class="row">
		    <div class="col-xs-10">
		        <!-- PAGE CONTENT BEGINS -->
		        <div class="row">
		            <div class="col-xs-12">
				         <div class="widget-box">
				                 <div class="widget-header">
				                        <h4 class="widget-title">查询条件</h4>
				
				                                <span class="widget-toolbar">
				                                    <a href="#" data-action="settings">
				                                        <i class="ace-icon fa fa-cog"></i>
				                                    </a>
				
				                                    <a href="#" data-action="reload">
				                                        <i class="ace-icon fa fa-refresh"></i>
				                                    </a>
				
				                                    <a href="#" data-action="collapse">
				                                        <i class="ace-icon fa fa-chevron-up"></i>
				                                    </a>
				
				                                </span>
				                    </div>
				
				                    <div class="widget-body" style="display: block;">
				                       <form role="search" id="dr_check_search_form">
				                        <div class="widget-main">
					                            <div class="row">
													<div class="col-xs-12 col-sm-12 col-lg-8 col-lg-push-2">
														<label for="dateRange">日期</label>
														<div class="input-group">
															<span class="input-group-addon"> <i
																class="fa fa-calendar bigger-110"></i>
															</span> <input class="form-control  text-center search_date_range"
																type="text" name="dateRange" id="dateRange"
																data-ng-model="formElements.dateRange"
																data-ng-change="updateReportSearchForm()"  readonly/>
														</div>
													</div>
												</div>
								
												  <div class="row">
					                                
					                                <div class="col-xs-4 col-xs-push-2">
					                                    <label for="form-field-select-1">人员</label>
					
					                                    <select class="form-control dr_check_search_select" id="form-field-select-1">
					                                        <option value="">所有</option>
					                                    </select>
					                                </div>
					                                
					                                <div class="col-xs-4 col-xs-push-2">
					                                    <label for="form-field-select-1">审核状态</label>
					
					                                    <select class="form-control dr_check_state_select" id="form-field-select-1">
					                                        <option value="">所有</option>
					                                        <option value="已通过">已通过</option>
					                                        <option value="未通过">未通过</option>
					                                        <option value="未审核">未审核</option>
					                                    </select>
					                                </div>
					                            </div>
					                            <hr />
					                            
						                          <div class="row">
						                            <div class="col-xs-12">
						                                  <button class="btn pull-right dr_check_reset_btn" type="reset">重置</button>
						                                  <button class="btn btn-primary pull-right dr_check_search_btn" type="button">搜索</button>
						                            </div>
						                          </div>
					                    </div>
					
			                          
		                          	    <input class="page_num" type="hidden" value="1" />
		                          </form>
		
		                        </div>
		                    </div>
		                </div>
		            </div>
		            
		            <!-- alert area -->
		            
		        </div>
	  		</div>
				
			<div class="alert_container row col-xs-8"></div>
			<!-- split -->	  		
	  		<div class="hr hr-double hr-dotted hr10"></div>
	  		
	  		<div class="drm_search_container"></div>
	  </div>

	 <!-- Modal -->
	 <div class="drm_view_container"></div>

<script type="text/javascript">
    var scripts = [null, "lib/assets/js/bootbox.js", 
    			"lib/assets/js/jquery-ui.custom.js",
    			 "lib/assets/js/jquery.ui.touch-punch.js", 
    			 "lib/assets/js/chosen.jquery.js",
    			  "lib/assets/js/fuelux/fuelux.spinner.js", 
    			  "lib/assets/js/date-time/bootstrap-datepicker.js",
    			   "lib/assets/js/date-time/bootstrap-timepicker.js",
    			    "lib/assets/js/date-time/moment.js", 
    			    "lib/assets/js/date-time/daterangepicker.js",
    			     "lib/assets/js/date-time/bootstrap-datetimepicker.js", 
    			     "lib/assets/js/bootstrap-colorpicker.js", "lib/assets/js/jquery.knob.js",
    			      "lib/assets/js/jquery.autosize.js", "lib/assets/js/jquery.inputlimiter.1.3.1.js",
    			       "lib/assets/js/jquery.maskedinput.js", 
    			       "lib/assets/js/bootstrap-tag.js", null]

    $('.page-content-area').ace_ajax('loadScripts', scripts, function () {
        //inline scripts related to this page
        jQuery(function ($) {
            //initiate dataTables plugin
            var active_class = 'active';
            $('#menu-management-table > thead > tr > th input[type=checkbox]').eq(0).on('click', function () {
                var th_checked = this.checked;//checkbox inside "TH" table header

                $(this).closest('table').find('tbody > tr').each(function () {
                    var row = this;
                    if (th_checked) $(row).addClass(active_class).find('input[type=checkbox]').eq(0).prop('checked', true);
                    else $(row).removeClass(active_class).find('input[type=checkbox]').eq(0).prop('checked', false);
                });
            });

            //select/deselect a row when the checkbox is checked/unchecked
            $('#menu-management-table').on('click', 'td input[type=checkbox]', function () {
                var $row = $(this).closest('tr');
                if (this.checked) $row.addClass(active_class);
                else $row.removeClass(active_class);
            })
            //to translate the daterange picker, please copy the "examples/daterange-fr.js" contents here before initialization
			$('input[name=dateRange]').daterangepicker({
				'applyClass' : 'btn-sm btn-success',
				'cancelClass' : 'btn-sm btn-default',
				locale : {
					applyLabel : '选择',
					cancelLabel : '取消'
				}
			}).prev().on(ace.click_event, function() {
				$(this).next().focus();
			});
			
        })
    });
</script>

<script type="text/javascript" src="js/dr.check.js"></script>
